//JavaScript Document

//Button
function Button(pV, bR)
{
    var _this = this;
    Sprite.call(_this, pV, bR);
    
    _this.img = undefined; 
    _this.ready = false;
    
    _this.imgLoadCallBack = function(){}
    
    _this.draw = function(canvas){}
 
    var init = function(){}
    
    var init = function()
    {
        _this.img = new Image();
        _this.img.onload = _this.imgLoadCallBack;
    }
    
    init();
}
inheritPrototype(Button, Sprite);